projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63a2f5
)
fix irrelevant booboo in 23cb08f17.
author
tsteven4
<tsteven4@gmail.com>
Tue, 10 Jul 2018 15:53:07 +0000
(09:53 -0600)
committer
tsteven4
<tsteven4@gmail.com>
Tue, 10 Jul 2018 15:53:07 +0000
(09:53 -0600)
This only mattered if NEW_STRINGS wasn't defined,
and it always is, except if running cppcheck.
gdb.cc
patch
|
blob
|
history
diff --git
a/gdb.cc
b/gdb.cc
index e8c06eb64b01b49b942c02bc50468cbe6a3e525c..16d330b22f5847ec0517c437e175d81be24020c9 100644
(file)
--- a/
gdb.cc
+++ b/
gdb.cc
@@
-1623,7
+1623,7
@@
write_waypoint_cb(const Waypoint* refpt)
// but, but, casting away the const here is wrong...
(const_cast<Waypoint*>(refpt))->shortname = refpt->shortname.trimmed();
#else
- rtrim(const_cast<Waypoint*>(refpt))->shortname);
+ rtrim(
(
const_cast<Waypoint*>(refpt))->shortname);
#endif
Waypoint* test = gdb_find_wayptq(&wayptq_out, refpt, 1);